package data;


public class Mail
{
	private FastWordOccurrenceMap wordOccurrenceMap;

	private boolean isSpam;

	private String fileName;

	public Mail(FastWordOccurrenceMap wordOccurrenceMap, boolean isSpam, String fileName)
	{
		this.wordOccurrenceMap = wordOccurrenceMap;
		this.isSpam = isSpam;
		this.fileName = fileName;
	}

	public Mail(FastWordOccurrenceMap wordOccurrenceMap, String fileName)
	{
		this(wordOccurrenceMap, false, fileName);
	}

	public FastWordOccurrenceMap getWordOccurrenceMap()
	{
		return wordOccurrenceMap;
	}
	
	public boolean isSpam()
	{
		return isSpam;
	}

	public String getFileName()
	{
		return fileName;
	}
}
